﻿using Combination.UI;
using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;

namespace Combination.Client
{
    public class MainWindowVm : UIVm
    {
        /// <summary>
        /// 左侧页面菜单
        /// </summary>
        public AppMenuItemCollection PageMenuItems { get; } = new AppMenuItemCollection();

        /// <summary>
        /// 底部菜单（设置等）
        /// </summary>
        public AppMenuItemCollection BottomMenuItems { get; } = new AppMenuItemCollection();

        private Page _currentPage;
        /// <summary>
        /// 当前页面
        /// </summary>
        public Page CurrentPage
        {
            get { return _currentPage; }
            set
            {
                _currentPage = value;
                OnPropertyChanged();
            }
        }

        /// <summary>
        /// 当前用户信息
        /// </summary>
        public UserInfoDataVm CurrentUser { get; } = new UserInfoDataVm()
        {
            ID = "61B24CC1-EA1E-4FAB-A969-60421DD0CF90",
            Name = "Dean",
            Description = "只会调库的水货程序员。",
            Image = "iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAIAAABMXPacAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAEi/SURBVHhe7X0HnFXF2f45M6fcsnu3s4Wld5WOVBEBNQo27C2xxVjyqUmMscQYS7rtM4mJicaGmsSCFQsCKiACIoKgIL3sLtvbvXvvPW3m/7xzF0SjiVdZNd/v/3K4e+4pc2be+rwzc+bqVy/ytW8SSU3T1Q7DnqYJ9WXvwQxJKXV93wNZ0Ocp/6sk1vn3v4q+MPe/gfRfKYD/S/TfLQD4os69/1r6RgvgP/L3/4Av+kYL4P+Sr/8s+v8x4Gum/w4B/B/w9Z9F3zgBBDrDJlExyXTJuGBMMENyPSB3BKfEJWdSYpPS57owpdCFwEmB3EDDARKVzzRPCuXCOAvoYlWyxGXKqSGPwBE6yAV9/xr58I0TABjEwDtNBEz4PHC5cMzANQKDeVwGUgpPE65m+NyQGveF7mg80KQVdOTLFr1+g9laFfZaoyIV0tN60CG0FETkMV2T3PaxMchWajqEE+wTYCC+zr2vnL5xmfAeIvWUxCKRSVZN/JUMai503UACGzi2ymXjeiwinZBT8/BtP9u4dHHA+WEnnDH8kGlrly4VVmjijGNYfmnKiEnNMIQ0A83nZCNCJ0nADLhEkZ358NdC30ABEFuhsAxsUTyCkQqNpQ1orLRFKux3JOq2L5k7J9HaPGHylNJRR+DgnL/86u3nH+MyDXZKK6pphu4kNcMyisquvON+s/ugFMtFYzlKk/BF5OjAc/gffBXsa1N/0DfRAvZoKDRTGExDDMBBjwvutUedhmXPPTr30XtlKiGFz+zoxTfesXzRa+/Of06m23IjzAUJuHzDYAKuSeiRgROOveDG38d5IfwVgguYLxhXbUaAgQB0gSih0z869pXTN04ACJhglE9xEt/IEGTgWJrM81q3rV425747mjatFn7a4syDBkvGwlHhOnrghWyzvHu3pobGZFscIizpUZmKJ1rjaS1UftNDc938SmGZQeBZCACM+czQpEnm1WkBuOPrEQA/5LwbOne/GQScQhFT0yzNM4OE7bXlBvGtq9547g83z3vs3o6mGibdcNguLS9zPNf3PF2kufBjOdGK8gqoths46bQbtkOlxd0trne0twopKgf0sUPs3bcWhpz2om6lgEskXjyDHkeCho114qOvnL6JLsgIACfT8Ozt1ZveX7JwycvPtdZsM/UkoU2DFxQW5cVyLSarq3cl4nEg1bLibrFImBkcEbiuoamtuaVH917haIQHHbt2bE0FercBB9Ttbg/SKXB98gXXTT3pLN8Ke8KES4IXChhwKmJ759O/YtpvAvhUGyakITgiacACnEf0Q2MppqqLdR9egXmBj+gIf60hAdBEVEivvWHdm/NWz3tq2/urdLeDoqaUhqkVFhbm5eUxRAfkAYy1tbUlEomioqJQKCSAkUivZVNTk+M45eXlDMmDDEhIiSROUf5A4VyXhQN++ehzKaubxyK4HtCWcXo2uACUlak2CDUnsEpRpGsl0+UWgEwK6gXYiEbhcUivMg1DoOSc+b7POZroWm4a8ObDd5e9M/+Z95Yt1tJxJtMa0gCAzlC4qLhbNGJlCswIgO5X+2A99jnn+ASb0+k0jluWBY5D0rW1tZATjkNIO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8T4s5LOyA9XrMNQqfeWn5ldfd5ulWKAa8CMfk67TiJLPMEL4SqZ/LURMUlEKTd4YwGP22MrhM/f6d/hqftm1DGCrwij29fiRFzfdQQiS/m7BjV15/+5y5b6Vlvsvy6eURGUpLfOY/9swbs595VeaWjT/qRJ9++ISa0KXU5bMigOpDuhMLGm4+/8Tkrg+igXv45PGjRw0tKmBt7X5TS/KV+Qu276pPSmblV8RKerQ11OWWlwse1T1bd5obt71Nb12ynEuuviYSowUCDcoUdDg2PUitffPVBS8+jadcdtXNoVgFnZOB6aV/e/OVup9GJpDfY3AoXIowYGiyoWZnTkGeHc5p2b3Va90Z0YK+vcqmTzmspFsoLzfU1OKuXrX29aWrWmTu4edffujpFyZ4vs8imUSvq0jT/h8R9g0++xVAuAAAAABJRU5ErkJggg==",
        };


        #region public Commands
        public ICommand LoginCommand { get; }

        #endregion
        public MainWindowVm()
        {
            PageMenuItems.SelectedItemChanged += PageMenuItems_SelectedItemChanged;
            PageMenuItems.Add(new AppMenuItemVm()
            {
                Name = "Menu_ChatSora_Tip",
                Icon = NUI.LoadAppResource<Geometry>("NUI.Icon.Wx"),
                PagePath = "/Combination.Client;component/Pages/BuliderPage.xaml"
            });
            PageMenuItems.Add(new AppMenuItemVm()
            {
                Name = "Menu_Website_Tip",
                Icon = NUI.LoadAppResource<Geometry>("NUI.Icon.Website"),
                PagePath = "/Combination.Client;component/Pages/WebsitePage.xaml"
            });
            PageMenuItems.Add(new AppMenuItemVm()
            {
                Name = "Menu_About_Tip",
                Icon = NUI.LoadAppResource<Geometry>("NUI.Icon.About"),
                PagePath = "/Combination.Client;component/Pages/AboutPage.xaml"
            });
            PageMenuItems.SelectedItem = PageMenuItems.FirstOrDefault();

            BottomMenuItems.SelectedItemChanged += BottomMenuItems_SelectedItemChanged;
            BottomMenuItems.Add(new AppMenuItemVm()
            {
                Name = "Menu_Settings_Tip",
                Icon = NUI.LoadAppResource<Geometry>("NUI.Icon.Settings"),
                PagePath = ""
            });
            LoginCommand = new UICommand(Login);
        }

        private void BottomMenuItems_SelectedItemChanged(object sender, EventArgs e)
        {
            ShowSettingsWindow();
        }

        private void PageMenuItems_SelectedItemChanged(object sender, EventArgs e)
        {
            CurrentPage = NUI.LoadPage(PageMenuItems.SelectedItem.PagePath, true);
        }

        private void ShowSettingsWindow()
        {
            PageDialog.Show("帐号管理", new WebsitePage(), MessageButtons.Ok | MessageButtons.Cancel);
        }

        public void Login(object obj)
        {
            var win = new LoginWindow();
            win.WindowStartupLocation = WindowStartupLocation.CenterOwner;
            win.Owner = App.Current.MainWindow;
            win.ShowDialog();
        }
    }
}
